﻿#FormAnsokan .row {
    margin-left: -10px;
    margin-right: -10px;

}
.form-row {
    margin-bottom: 10px;
}

.form-row .radio {
    margin-left: 25px;
}

.form-row .radio label {
    padding-left: 5px;
}

.form-header {
    font-size: 17px;
    line-height: 33px;
}

.form-error {
    animation-duration: 500ms;
    animation-name: blink;
    animation-iteration-count: 1;
    animation-direction: alternate;
    color: #bd2a2a;
    font-size: 14px;
    font-weight: 200;
    margin-top: 5px;
}

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

input[type=checkbox] {
    margin-right: 5px;
}

.form-color-main { 
    background-color: #fff;
    min-height: 30px;
}

.form-color-alt {
    background-color: #f1f1f1;
    min-height: 30px;
}

.form-course-row h5 {
   font-size: 1.2em;
   margin: 0;
   font-weight: 600;
}

.name-hidden { display: none }

@media only screen and (min-width: 760px) {
    .form-course-row {
        min-height: 50px;
        padding: 10px 0;
    }

}

@media only screen and (max-width: 991px) {

    .btn-primary {
        margin: 15px 0;
    }

    .form-color-main {
        background-color: #f9f9f9 !important;
    }

    .form-color-alt {
        background-color: #e9e9e9;
    }


    .form-row-header { display: none;}
    .name-hidden { display: inline-block; }
    .form-course-row {
        padding: 10px 0 5px 0;
        margin-bottom: 20px;
        border-radius: 5px;
        min-width: 250px;
    }


    .form-course-row h5 {
        font-weight: bold;
        text-decoration: underline;
    }


}

.form-bottom-controls {
    margin: 20px -15px 40px -15px;
}

.form-legal {
    color: #FC9707;
}

/* Popup form  */
@media only screen and (min-width: 760px) {
    #popupContainer {
        width: 75% !important;        
        max-width: 1200px !important;
    }

    #spanOnline { text-align: right; }
}

@media only screen and (max-width: 759px) {
    #popupContainer {
        width: 95% !important;
    }
}


#popupContainer {
    display: none;
    background-color: #fff;
    border: 4px solid #000;
    
}
#popupHeader {
    min-height: 45px;
    line-height: 45px;
    background-color: #FFEB3B;
    padding-left: 30px;
    font-weight: bold;
}

#popupAlert {
    padding: 20px 45px;
}

.b-iframe { width: 100%;}
.popup-iframe-content { padding: 10px 30px 10px 30px; }
.popup-iframe-content .row {margin: 0}

#spanOnline { margin-bottom:20px;  margin-right: 20px; }
#spanOnline span {
    font-size: 0.95em;
    color: #305aae;
}
#spanOnline a {
    text-decoration: underline
}

.form-button-right-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px !important;
}

.form-button-right-container div { display: flex  }

    .form-button-right-container div input {
       margin-right: 4px;
    }

    a.btn-disabled {
        background-color: #eee;
        cursor: default;
        opacity: .65;
    }

.form-accept-deny-buttons {
    text-align: right;
}


.form-accept-deny-buttons input {
    margin-left: 10px;
}

#btnAnsokOffline {
    top: 0px
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-default {
    border-left-color: #777;
}

    .bs-callout-default h4 {
        color: #777;
    }

.bs-callout-primary {
    border-left-color: #428bca;
}

    .bs-callout-primary h4 {
        color: #428bca;
    }

.bs-callout-success {
    border-left-color: #5cb85c;
}

    .bs-callout-success h4 {
        color: #5cb85c;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

.bs-callout-info h4 {
    color: #5bc0de;
}

.mandatory {
    background-color: #fff695;
    
}

.kursansok {
    margin: 20px 0;
}

.kursansok .row {
    margin: 10px 0;
    padding: 0;
}

.kursansok .row div {
    padding: 0 5px;
}



.cb-kursansokan input[type=checkbox] {
    width: 20px;
    height: 20px;
}

.cb-kursansokan label {
    margin-bottom: 10px;
}
#FormAnsokan {
    label{ font-size: 16px; }

.btn.disabled, .btn[disabled] {
    background-color: #c9c9c9 !important;
    border-color: #777 !important;
}

input[type=radio] {
    margin: 4px 4px 0 4px;
    width: 20px;
    height: 20px;
}

    .inline {
        display: inline;
    }

    .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
        position: relative;
        min-height: 1px;
        padding-right: 10px;
        padding-left: 10px;
    }
    @media only screen and (max-width: 1401px) {
        label {
            font-size: 14px;
        }

        .cb-kursansokan input[type=checkbox] {
            width: 15px;
            height: 15px;
        }


    }
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}


.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay b {
    color: #ffffff;
    border: 2px solid #676767;
    background-color: #757575;
    padding: 6px 12px 6px 12px;
    border-radius: 4px;
}

